<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>
<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>
<% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; %>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_5400_DELIVERY_MANAGEMENT_TAG" /></title>
    <%@ include file="/page/comPage/comCSS.html"%>
    <%@ include file="/page/comPage/navbar.html"%>
    <style>
        .keyClass
        { color: blue; font-weight: bold; }
        .top {
      		margin-bottom: 20px;
      	}

        #mdlEditDialogForm input {
            width: 150px;
        }

        #mdlEditDialogForm select{
            width: 150px;
        }
		form .form-group {
            margin: -7px 0px;
        }
        .form-horizontal {
            padding-top: 10px;
        }
        .row:nth-child(3){
            margin-top: 20px;
        }
        .bomBtnDiv{
            padding-left: 3%;
        }
    </style>
    
</head>
<body>
<div class="container-fluid">
    <div class="row">
			<div class="col-lg-12 col-md-12 col-sm-12 btnDivCss">
			<button class="btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>
			
			<button class="btn btn-danger" id="del_btn"><s:message code="DELETE_TAG" /></button>
			
			<button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG" /></button>
	
			<button class="btn btn-warning" id="update_btn"><s:message code="UPDATE_TAG" /></button>
		
			<button class="btn btn-success" id="save_btn"><s:message code="REGISTER_TAG" /></button>
			
			<button class="btn btn-primary" id="clear_btn"><s:message code="CLEAR_TAG" /></button>
			
			<button class="btn btn-primary" id="close_btn"><s:message code="F6_CLOSE_TAG" /></button>
			
			<button class="btn btn-primary" id="open_btn"><s:message code="F7_OPEN_TAG" /></button>
			</div>
					
	</div>
  <div class="row" >
    	<div class="col-lg-12 col-md-12 col-sm-12" >
    	 <form id="orderList" class="form-horizontal">
    	<!--  style="display:none" -->
    	               <div class="form-group col-lg-3 col-md-3 col-sm-3" style="display:none" >
                          <br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4" for="evtSeqId">主键</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                            <input type="text" class="form-control" id="evtSeqId" />
                            </div>
                        </div>

    	               <div class="form-group col-lg-3 col-md-3 col-sm-3">
                            <br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4 keyClass" for="dnno">交货订单号</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                                <input type="text" class="form-control" id="dnno" />
                            </div>
                        </div>
                            	
                	 <div class="form-group col-lg-3 col-md-3 col-sm-3">
                        	<br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4 keyClass" for="cusIdFk">客户代码</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                                 <select class="form-control" id="cusIdFk" >
                                </select>
                            </div>
                        </div>
                        <%-- <div class="form-group col-lg-3 col-md-3 col-sm-3">
                        	<br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4 " for="mdlIdFk">产品代码</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                                 <select class="form-control" id="mdlIdFk" >
                                </select>
                            </div>
                        </div>--%>

                	<%-- <div class="form-group col-lg-3 col-md-3 col-sm-3">
                	  <br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4 keyClass" for="plnShipQty">交货数量</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                            <input type="text" class="form-control" id="plnShipQty" />
                            </div>
                        </div>--%>

                         <div class="form-group col-lg-3 col-md-3 col-sm-3">
                          <br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4" for="shipAddress">交货地址</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                            <input type="text" class="form-control" id="shipAddress" disabled="disabled"/>
                            </div>
                        </div>

                	  	  <div class="form-group col-lg-3 col-md-3 col-sm-3">
                	  	   <br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4 " for="plnShipTimestamp">
							计划交货日期 </label>
						<div class="col-lg-8 col-md-8 col-sm-8">
							<div id="plnShipTimestamp" class="input-group input-append">
								<input data-format="yyyy-MM-dd hh:mm:ss" type="text" class="form-control">
								<span class="input-group-addon add-on"> <i data-date-icon="glyphicon-calendar"
									data-time-icon="glyphicon-time" class="glyphicon glyphicon-calendar glyphicon-time"></i> </span>
							</div>
						</div>
				    	</div>
                        <div class="form-group col-lg-3 col-md-3 col-sm-3">
                          <br/>
                            <label class="control-label col-lg-4 col-md-4 col-sm-4" for="shipNote">备注</label>
                            <div class="col-lg-8 col-md-8 col-sm-8">
                            <input type="text" class="form-control" id="shipNote" />
                            </div>
                        </div>
             <div class="form-group col-lg-3 col-md-3 col-sm-3">
                 <br/>
                 <label class="control-label col-lg-4 col-md-4 col-sm-4" for="fifoFlg">是否先进先出</label>
                 <div class="col-lg-8 col-md-8 col-sm-8">
                     <select class="form-control" id="fifoFlg" >
                     </select>
                 </div>
             </div>
         </form>
        </div>
  </div>
                
        <div class="row">
            <div class="col-lg-8 col-md-8 col-sm-8 UnderDiv">
                <fieldset>
                    <legend>交货订单信息浏览</legend>
                </fieldset>
                <div id="delOrderDiv" class="col-lg-12 col-md-12 col-sm-12">
                    <table id="delOrderGrd"></table>
                    <div id="delOrderPg"></div>
                </div>
            </div>

            <div class="col-lg-4 col-md-4 col-sm-4 UnderRDiv" id="divRight">
                <fieldset>
                    <legend>产品代码列表</legend>
                </fieldset>

                <div class="bomBtnDiv">
                    <button id="add_mdl_btn" class="btn btn-primary offset1">增加产品</button>
                    <button id="update_mdl_btn" class="btn btn-warning">修改产品</button>
                    <button id="del_mdl_btn" class="btn btn-danger">删除产品</button>
                </div>

                <br />
                <div id="mdlDefDiv" class="col-lg-12 col-md-12 col-sm-12">
                    <table id="mdlDefGrd"></table>
                    <div id="mdlDefPg"></div>
                </div>
            </div>

    </div>


</div>

<!-- 产品维护 -->
<div id="mdlEditDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">
                    产品代码添加或删除
                </h4>
            </div>
            <!--Modal header-->
            <div class="modal-body">
                <div class="row">
                    <form id="mdlEditDialogForm" class="row form-horizontal">
                       <%-- <input type="text" id="bomEditDialog_mdlMtrlSeqIDTxt" class="form-control hide" />--%>
                        <div class="control-group">
                            <label class="control-label col-lg-4 keyCss" for="mdlEditDialog_sel">产品代码
                            </label>
                            <div class="col-lg-6">
                                <select id="mdlEditDialog_sel" class="form-control input-sm"></select>
                            </div>
                        </div>
                           <br/>
                        <div class="control-group">
                            <label class="control-label col-lg-4 keyCss" for="plnShipQty"> 计划交货数量
                            </label>
                            <div class="col-lg-6">
                                <input type="text" id="plnShipQty" class="form-control"
                                       onkeyup="this.value=this.value.replace(/[^0-9]/g,'')"
                                       onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')"/>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!--Modal body-->
            <div class="modal-footer">
                <a id="mdlEditDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
                </a> <a id="mdlEditDialog_saveBtn" class="btn btn-primary"> <s:message code="COMMIT_TAG" />
            </a>
            </div>
            <!--Modal footer-->
        </div>
    </div>
</div>
                
                
                     
</body>
<%@ include file="/page/comPage/comJS.html"%>
<script src="lib/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="lib/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="js/page/5000/5400.js"></script>
</html>